Skip to content

Integrate native Sub2API balance, key snapshots and auth/pricing UX - #18

Merged
LIghtJUNction merged 21 commits into
mainfrom
work/native-next-integrated-e
Nov 25, 2026
Merged

LIghtJUNction merged 21 commits into
mainfrom
work/native-next-integrated-e

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Member

目的

将 D 15bc9d98 之后的渠道余额、Key 日志快照和登录/定价体验改动整合成一个候选,进入同一套 CI 和发布审查。

修改

  • 增加 Sub2API 钱包和总额度的 USD 读取、批量刷新,以及请求去重和选择快照回归覆盖。
  • 保留受理时的非秘密 Key 选择快照、管理员投影和历史未知状态;没有加入完整供应商异步任务执行器。
  • 改善登录等待、账户和公共定价目录的空状态与权限隔离,补齐七种语言。
  • 纳入 PR Keep Core tests within CI limits and export reviewed Alpine receipts #17 的既有 CI/打包改动及 A 的补充回归测试,保留原提交历史和进度证据。

验证

  • 本轮渠道客户端 5 项、界面 55 项通过;另 115 项 auth/pricing 测试按未变输入复用已有结果。
  • 完整 Web 类型检查、正式 Web 构建及 bundle 门禁均退出 0;首屏 gzip 为 499,868 字节,门槛为 786,432 字节。
  • 变更测试文件 lint 为 0 error/0 warning,文档与差异检查通过。
  • 类型与构建绑定输入树 70f6a289;最终提交仅进度文档与该树不同。没有将开发构建改标成最终发布制品。

发布前仍需闭合

  • 最终源码需要自身的 Rust、真实 PostgreSQL 和完整 CI;本轮没有进行本地 Rust 编译或浏览器业务验收。
  • 新 Key 快照 writer 写入后,D 的严格旧 reader 无法读取新合同。需要明确向前修复/兼容过渡方案,禁止按普通旧二进制回退。
  • 本 PR 保持草稿,未部署 E,也没有执行真实充值、退款或模型扣费。D 的既有发布工作单独按固定制品推进。

The Alpine smoke probe reaches a healthy installed service, then fails when the container-root observer reads the other UID's procfs executable link.
Run that exact read as the existing service UID and GID with no supplementary groups. Keep the executable-path assertion, timeout, error propagation and subsequent native catalogue checks.

(cherry picked from commit 36f3de2)
Use the Alpine readlink applet under the service account and omit its output delimiter. Comparing the raw bytes preserves filename whitespace, including trailing spaces, when verifying the running executable.
Keep the native probe report and consumer output in a private container directory. Write only confirmed receipt fields into runner-owned staging files after the real probe passes. Upload the paths returned by the package builder and the named acceptance records.
Distinguish Passkey detection from unsupported devices and announce OAuth progress.
Return bounded catalog empty reasons and public-view availability from the existing policy, with an explicit account-scoped public-view action.

Validate with 115 focused web tests, web typecheck, targeted lint, formatting and seven-locale synchronization. Real PostgreSQL validation and browser screenshots remain pending a coordinator resource window.
Read wallet and key quota USD contracts through the existing guarded gateway. Reuse the single-channel API for selected-page sequential refreshes and keep failed observations unchanged. Add synthetic parser, HTTP/PG and UI coverage with seven-locale copy.

Validated: 4 client tests, 7 focused UI tests, web typecheck, lint (one pre-existing warning), formatting, locale sync and docs checks. Rust compilation/tests, isolated PostgreSQL, web build and browser review were not run under the coordinator's resource restriction; require subsequent CI before deployment.
Strengthen automatic probe refresh coverage against rapid repeated clicks, preserve batch identity snapshots and zero observations, and prove delayed responses from a closed batch cannot enter a filtered replacement dialog.

The scoped source review found no production change necessary. Record current evidence in docs/progress.md. Validation: 5 client tests, 2 focused UI tests, single-thread formatting, docs-only checks and git diff --check passed. Rust/HTTP/PG, web typecheck/lint, production build and browser verification were not run in this restricted window.
@LIghtJUNction
LIghtJUNction marked this pull request as ready for review November 25, 2026 16:33
@LIghtJUNction
LIghtJUNction merged commit e8583bb into main Nov 25, 2026
10 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-25T16:35:19.740758Z c042cbd Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants